import Mock from 'mockjs';

export default {
  'GET /api/admin/action_logs': Mock.mock({
    success: 1,
    message: '@paragraph',
    data: {
      'items|10': [
        {
          'id|+1': 1,
          admin: {
            id: '@integer(1, 1000)',
            nickname: '@cword(2, 6)',
            username: '@word(2, 10)',
          },
          message: '@cword(32)',
          ip: '@ip',
          created_at: '@datetime',
        },
      ],
    },
  }),
};
